public class Test {
    public static void main(String[] args) {
        MySingleList mySingleList = new MySingleList();

        mySingleList.addLast(1);
        mySingleList.addLast(2);
        mySingleList.addLast(3);
        mySingleList.addLast(5);
        mySingleList.addLast(5);
        mySingleList.display();

        System.out.println(mySingleList.size());
        System.out.println(mySingleList.contains(5));
        mySingleList.addFirst(0);
        mySingleList.display();

        mySingleList.addIndex(0,99);
        mySingleList.addIndex(2,33);
        mySingleList.display();

        mySingleList.remove(99);
        mySingleList.removeAllKey(99);
        mySingleList.display();

        mySingleList.clear();
    }
}
